Vcenter NamespaceManagement Networks NsxNetworkCreateSpec

Vcenter NamespaceManagement Networks NsxNetworkCreateSpec
Vcenter NamespaceManagement Networks NsxNetworkCreateSpec

The Vcenter NamespaceManagement Networks NsxNetworkCreateSpec schema describes the configuration specification of a NSXT-backed Namespaces Network configuration.

This schema was added in vSphere API 7.0.2.0.

JSON Example
{
    "namespace_network_cidrs": [
        {
            "address": "string",
            "prefix": 0
        }
    ],
    "ingress_cidrs": [
        {
            "address": "string",
            "prefix": 0
        }
    ],
    "egress_cidrs": [
        {
            "address": "string",
            "prefix": 0
        }
    ],
    "nsx_tier0_gateway": "string",
    "subnet_prefix_length": 0,
    "routed_mode": false,
    "load_balancer_size": "string"
}
namespace_network_cidrs
Optional

CIDR blocks from which Kubernetes allocates IP addresss for all workloads that attach to the namespace, including PodVMs, TKGS and VM Service VMs. This range should not overlap with those in Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.ingress_cidrs, Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.egress_cidrs, or other services running in the datacenter.

This property was added in vSphere API 7.0.2.0.

This field is required when Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.nsx_tier0_gateway or any of Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.ingress_cidrs, Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.egress_cidrs are specified. An update operation only allows for addition of new CIDR blocks to the existing list.

ingress_cidrs
Optional

CIDR blocks from which NSX assigns IP addresses for Kubernetes Ingresses and Kubernetes Services of type LoadBalancer. These ranges should not overlap with those in Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.egress_cidrs, or other services running in the datacenter.

This property was added in vSphere API 7.0.2.0.

This field is required when Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.nsx_tier0_gateway or any of Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.egress_cidrs is specified. An update operation only allows for addition of new CIDR blocks to the existing list.

egress_cidrs
Optional

CIDR blocks from which NSX assigns IP addresses used for performing SNAT from container IPs to external IPs. These ranges should not overlap with those in Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.ingress_cidrs, or other services running in the datacenter.

This property was added in vSphere API 7.0.2.0.

This field is required when Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.routed_mode is set to False and Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.nsx_tier0_gateway or any of Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.namespace_network_cidrs, Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.ingress_cidrs is specified. When Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.routed_mode is set to True, this field is not allowed. An update operation only allows for addition of new CIDR blocks to the existing list.

string
nsx_tier0_gateway
Optional

NSX Tier0 Gateway used for the namespace. This field does not allow update once applied.

This property was added in vSphere API 7.0.2.0.

This field is required when configuring a cluster that uses NSX-T.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: NSXTier0Gateway. When operations return a value of this schema as a response, the property will be an identifier for the resource type: NSXTier0Gateway.

integer As int64 As int64
subnet_prefix_length
Optional

Size of the subnet reserved for namespace segments.

This property was added in vSphere API 7.0.2.0.

If missing or null, defaults to 28. This field does not allow update once applied.

boolean
routed_mode
Optional

Routed mode for thw namespace. When set to True, the traffic in the namespace is not NATed.

This property was added in vSphere API 7.0.2.0.

If missing or null, defaults to False. When this field is set to True, Vcenter NamespaceManagement Networks NsxNetworkCreateSpec.egress_cidrs is not allowed. This field does not allow update once applied.

string
load_balancer_size
Optional

The size of the NSX Load Balancer used by the namespace. This field does not allow update once applied.

For more information see: Vcenter NamespaceManagement Networks LoadBalancerSize.

This property was added in vSphere API 7.0.2.0.

If missing or null, defaults to Vcenter NamespaceManagement Networks LoadBalancerSize.SMALL.